package com.aplikata.evok.bo;

import java.util.Date;

import com.aplikata.bo.User;

/**
 * @ClassName: DoctorSchedule
 * @Description: TODO
 * @author Huyun
 * @date 15. 5. 2012. 13:55:58
 */
public class DoctorSchedule implements java.io.Serializable {

	private static final long serialVersionUID = 1L;

	private Long id;
	private PatientTherapy patientTherapy;
	private Integer type;
	private Integer status;
	private String title;
	private String content;
	private Date timeFrom;
	private Date timeTo;
	private boolean priority;
	private User doctor;
	private DomainPatient domainPatient;
	private User oper;
	private Date operTime;

	public final static String QY_FIND_DOCTOR = "DoctorSchedule.findByDoctor";
	public final static String QY_FIND_PATIENT_THERAPY = "DoctorSchedule.findByPatientTherapy";
	public final static String QY_FIND_SURNAME_NAME = "DoctorSchedule.findBySurnameName";

	// Constructors
	public DoctorSchedule() {
	}

	/** default constructor */
	public DoctorSchedule(Integer status) {
		this.status = status;
	}

	// Property accessors
	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public PatientTherapy getPatientTherapy() {
		return patientTherapy;
	}

	public void setPatientTherapy(PatientTherapy patientTherapy) {
		this.patientTherapy = patientTherapy;
	}

	public Integer getType() {
		return this.type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getTimeFrom() {
		return this.timeFrom;
	}

	public void setTimeFrom(Date timeFrom) {
		this.timeFrom = timeFrom;
	}

	public Date getTimeTo() {
		return this.timeTo;
	}

	public void setTimeTo(Date timeTo) {
		this.timeTo = timeTo;
	}

	public User getDoctor() {
		return doctor;
	}

	public void setDoctor(User doctor) {
		this.doctor = doctor;
	}

	public DomainPatient getDomainPatient() {
		return domainPatient;
	}

	public void setDomainPatient(DomainPatient domainPatient) {
		this.domainPatient = domainPatient;
	}

	public User getOper() {
		return oper;
	}

	public void setOper(User oper) {
		this.oper = oper;
	}

	public Date getOperTime() {
		return operTime;
	}

	public void setOperTime(Date operTime) {
		this.operTime = operTime;
	}

	public boolean isPriority() {
		return priority;
	}

	public void setPriority(boolean priority) {
		this.priority = priority;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

}